package net.onceface.application.dto;

import java.io.Serializable;

import javax.ws.rs.FormParam;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class AddressDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8911350449780861167L;
	
	@FormParam("id")
	private Long id;
	
	@FormParam("version")
	private int version;
	
	@FormParam("phone")
	private String phone;
	
	@FormParam("address")
	private String address;
	
	@FormParam("name")
	private String name;
	
	@FormParam("def")
	private boolean def;
	
	@FormParam("clientId")
	private Long clientId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isDef() {
		return def;
	}

	public void setDef(boolean def) {
		this.def = def;
	}

	public Long getClientId() {
		return clientId;
	}

	public void setClientId(Long clientId) {
		this.clientId = clientId;
	}

}
